#!/usr/bin/env python
# -*- coding:utf-8 -*-
'''
@FileName  :urls.py 
@desc      :
@Author    :Young
@IDE       :PyCharm
@Time      :2021/2/20 0020 20:25
'''

from django.urls import path

from App2 import views

app_name = 'App2'
urlpatterns = [
    path('',views.index,name='index'),
    path('cacheWeb/',views.cacheWeb,name='cache_all'),
    path('cacheData/',views.cacheData,name='cache_data'),  #数据的缓存
    #邮件验证
    path('checkuser/',views.check_user,name='check_user'),  #注册
    path('active/<token>',views.active_user, name='active_user'),
    #登录页面
    path('login/',views.user_login,name='login')
]